<?php
namespace haibao\www\model\data;

class ZtSpecial extends Base{
	CONST STATUS_ENABLE = 0;
	CONST STATIS_DISABLE = 1;
	
	const LIST_SHOW_ENABLE = 1;
	const LIST_SHOW_DISABLE = 0;
	
	public $Channel;
	public $SnsTid;
	public $Title;
	public $Url;
	public $Author;
	public $Keywords;
	public $Description;
	public $EditTag;
	public $Template;
	public $PollValid;
	public $CreateDate;
	public $UpdateDate;
	public $Options;
	public $Tag;
	public $Pic;
	public $ListShow = self::LIST_SHOW_DISABLE;
	public $ListDate;
	public $CommentDate;
	public $TagName;
	public $Status;
	public $ZtVideoCate;
	
	public function __construct(){
		parent::__construct();
		$this->intField('Channel', 'channel',true);
		$this->intField('SnsTid', 'sns_tid',true);
		$this->stringField('Title', 'title',true);
		$this->stringField('Url', 'url',true);
		$this->stringField('Author', 'author',true);
		$this->stringField('Keywords', 'keywords',true);
		$this->stringField('Description','description',true);
		$this->intField('EditTag','edit_tag',true);
		$this->stringField('Template', 'template',true);
		$this->stringField('PollValid','poll_valid',true);
		$this->dateField('CreateDate','createdate',true);
		$this->dateField('UpdateDate','updatedate',true);
		$this->stringField('Options','options',true);
		$this->intField('Tag', 'tag',true);
		$this->stringField('Pic', 'pic',true);
		$this->intField('ListShow','list_show',true);
		$this->dateField('ListDate', 'list_date',true);
		$this->stringField('CommentDate','comment_date',true);
		$this->stringField('TagName','tag_name',true);
		$this->intField('Status','status',true);
		$this->intField('ZtVideoCate', 'zt_video_cate',true);
		$this->intField('Id','id',true);
		
		$this->setTableName('zt_special');
	}
}